//
//  RABookMallHeaderView.h
//  ReadApp
//
//  Created by 飞猪 on 2018/11/7.
//  Copyright © 2018年 Facebook. All rights reserved.
//

#import <UIKit/UIKit.h>
@class RABookFaceModel;
@class RABookMallHeaderItemModel;

typedef NS_ENUM(NSUInteger, RABookMallDetailType) {
  RABookMallDetailTypeSelect,
  RABookMallDetailTypeWoman,
  RABookMallDetailTypeMan,
};


typedef void(^clicked)(RABookMallHeaderItemModel *);
typedef void(^JumpToBookDetail)(RABookFaceModel *);


@interface RABookMallHeaderView : UIView {
  @protected
  NSArray<RABookFaceModel *> *_models;
}

@property (nonatomic) RABookMallDetailType type;

@property (nonatomic, copy) clicked clickedCallback;

@property (nonatomic, copy  ) JumpToBookDetail jumpToBookDetail;

@property (nonatomic, strong) NSArray<RABookFaceModel *> *models;

@end


@interface RABookMallHeaderItemModel : NSObject

@property (nonatomic, copy  ) NSString *titleImg;
@property (nonatomic, copy  ) NSString *title;
@property (nonatomic, copy  ) NSString *jId;

@end
